package Offer;

/**
 * 在排序数组中查找数字 I
 * @author 是阿秋啊
 * @date 2022/04/02 17:17
 **/
public class Num53 {
    public int search(int[] nums, int target) {
        int count = 0;
        for (int num : nums) {
            if (num == target) {
                count++;
            }
        }
        return count;
    }
}
